#pragma once
#include <string>
#include <iomanip>
#include <sstream>
#include <Windows.h>
class msglist {
public:
	struct msg {
		std::string text;
		unsigned long long time;
		msg*next;
	};
	msg*first, *last, *last5;
	unsigned int num;
	msglist ();
	~msglist ();
	void add (std::string&text0);
	void all (std::stringstream&stream0);
	void from (unsigned int from, std::stringstream&stream0);
};